import reshandler from 'services/response-handler'

export default function(params,success,fail){
  // request 
  params = Object.assign({}, params, {
    methodName: "ListAppointmentItem"
  })

  // invoke
  this.$.get(params).then(reshandler.success(success,fail),reshandler.error(fail))
}